package cn.wolfcode.wolf2w.business.api.domain;

import cn.wolfcode.wolf2w.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 回答对象 ta_answer
 * 
 * @author cmq
 * @date 2024-12-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ta_answer")
public class Answer implements Serializable {
    private static final long serialVersionUID = 1L;
    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 问题ID */
    @Excel(name = "问题ID")
    private Long questionId;

    /** 问答标题 */
    @Excel(name = "问答标题")
    private String title;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String headImgUrl;

    /** 作者名字 */
    @Excel(name = "作者名字")
    private String authorName;

    /** 作者等级 */
    @Excel(name = "作者等级")
    private Integer level;

    /** 详细内容 */
    @Excel(name = "详细内容")
    private String detailDoubt;

    /** 标签列表 */
    @Excel(name = "标签列表")
    private String labelList;

    /** 目的地名称 */
    @Excel(name = "目的地名称")
    private String destinationName;

    /** 发布时间 */
    private Date createTime;

    /** 是否关注 */
    @Excel(name = "是否关注")
    private Long isAttention;

    /** 关注数 */
    @Excel(name = "关注数")
    private Long count;

    /** 浏览数 */
    @Excel(name = "浏览数")
    private Long viewNum;

    /** 是否发布 */
    @Excel(name = "是否发布")
    private Long state;

    @Excel(name = "内容")
    private String answerContent;

}
